//
//  JSPopupTestViewController.m
//  JSToolkit
//
//  Created by 정재성 on 2013. 11. 10..
//  Copyright (c) 2013년 정재성. All rights reserved.
//

#import "JSPopupTestViewController.h"
#import "UIViewController+Popup.h"
#import "UIColor+ColorSet.h"

@interface JSPopupTestViewController ()

- (IBAction)presentPopup:(id)sender;

@property UIView *popupView;

@end

@implementation JSPopupTestViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.popupView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 100.0f, 100.0f)];
    self.popupView.backgroundColor = [UIColor ios7_yellow];
}

- (IBAction)presentPopup:(id)sender
{
    [self presentPopupView:self.popupView overlay:YES animated:YES];
}

@end
